Auto merge of #3524 - sdroege:test-build-doc-test-check-status, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 10 Jan 2017 19:34:36 +0000 (19:34 +0000)
committerbors <bors@rust-lang.org>
Tue, 10 Jan 2017 19:34:36 +0000 (19:34 +0000)
Check the exit code of all processes started in the build/test tests

By not checking the exit codes, a failure in the build::crate_env_vars()
test was ignored.

As suggested by @alexcrichton in https://github.com/rust-lang/cargo/pull/3515#discussion_r95253461


Trivial merge